
#!/bin/bash

project_root_dir=/project/train/src_repo/mmdetection
log_file=/project/train/log/log.txt

  
  
echo "-----------vocxml_2_coco-------------" \


rm -rf ${project_root_dir}/work_dir 
cd ${project_root_dir} && mkdir work_dir

cd ${project_root_dir} && python3 -u data/vocxml_2_coco.py | tee -a ${log_file} \ 
cd ${project_root_dir} && python3 -u Statistical_Analysis.py | tee -a ${log_file} \  
 

echo "-----------start training-------------" \
cd ${project_root_dir} && (python3 -u data/copypth.py ) & (python3 -u train_swin_tood.py )  | tee -a ${log_file} \ 

 

echo "-----------Done-----------" \
